package com.iotsz.device.mapper;

import com.iotsz.device.bean.Device;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DeviceMapper {
    Device getDevice(Integer id);

//    User getUser(Integer id);

    int updateByDevice(Device device);

    int deleteByPrimary(Integer id);

    int insertByDevice(Device device);
}
